package com.itheima.springboot.dao;

import com.itheima.springboot.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserDao {
    @Select("select * from user ")
    List<User> findAll();

}
